<% if @projects.size > 0 %>

	<style>	
		#projects_table a
		{
			font-weight: bold;
		}
	</style>

	<div class="fluid">
		<h1 class="float-left"><%= t :your_projects, :scope => :project %></h1>
		<%= link_to content_tag(:span, t(:new, :scope => :project), :class => "icon add"), new_project_path, :class => "awesome float-right right" %>
	</div>
		
	<%= render "my_projects", :projects => @projects %>
	
	<%= render "my_activities", :activities => @my_activities %>
	
	<%= render "late_milestones", :milestones => @late_milestones %>
	
	<% content_for(:sidebar) do %>
		<%= render "updates", :logs => @logs %>
	<% end %>

<% else %>
	
	<div class="alert green center rounded-8 shadow-low">
		<h1><%= link_to t(:new, :scope => :project), new_project_path %></h1>
		<p><%= t :has_no_projects, :scope => :project %></p>
	</div>
	
<% end %>

<% content_for(:navigation) do %>
	<%= render :partial => "navigation/general_navigation" %>
<% end %>